FROM anapsix/alpine-java:latest
WORKDIR /app
ADD target/springboot-helloworld.jar /app
EXPOSE 8080
ENV JVM_OPTS -Xms256m -Xmx512m
ENTRYPOINT exec  java $JVM_OPTS -jar /app/springboot-helloworld.jar
#ENTRYPOINT ["java","-jar","springboot-helloworld.jar"]